{% load i18n %}
{% with contention=target_object.argument %}
{% if target_object.user and contention %}
<a class="user" href="{{ target_object.user.get_absolute_url }}">
    {{ target_object.user.username }}</a>

{% blocktrans trimmed with class=target_object.premise_class label=target_object.get_premise_type_display %}
    added a <span class="premise-type {{ class }}">{{ label }}</span> premise
{% endblocktrans %}
<br>
    <a href="{{ contention.get_absolute_url }}" class="contention-link">{{ contention.title }}</a>
{% endif %}
{% endwith %}
